﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Data;

namespace HoaDonNuoc.Interface.BaoCao
{
    public partial class rpt_ThongBaoGhiChiSoDongHoThangNam : DevExpress.XtraReports.UI.XtraReport
    {
        public DataTable Data;
        public String NgayThangNam
        { set; get; }
        public int Thang
        { set; get; }
        public int Nam
        { set; get; }

        public rpt_ThongBaoGhiChiSoDongHoThangNam()
        {
            InitializeComponent();
        }

        private void Detail_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            loadDuLieu();
        }

        public void loadDuLieu()
        {
            lbtNgayThangNam.Text = NgayThangNam;
            lbtThangNam.Text = String.Format(lbtThangNam.Text, Thang, Nam);
            
        }

    }
}
